#ifndef BTFORM_H
#define BTFORM_H

#include <QWidget>

namespace Ui {
class btForm;
}

class btForm : public QWidget
{
    Q_OBJECT

public:
    explicit btForm(QWidget *parent = nullptr);
    void seticon(QString btIcon, QString content, int mid);
    virtual void mousePressEvent(QMouseEvent* event);
    void clearBg();
    int getId();

    ~btForm();

signals:
    void click(int id);

private:
    Ui::btForm *ui;
    int id = 0;

};

#endif // BTFORM_H
